# Python assert调试程序
s_age = input("请输入您的年龄：")
age = int(s_age)
assert 20 < age < 80, "年龄不在 20-80 之间"
print("您输入的年龄在20和80之间")

print()

try:
    s_age = input("请输入您的年龄：")
    age = int(s_age)
    assert 20 < age < 80, "年龄不在 20-80 之间"
except AssertionError as e:
    print("输入的年龄不正确", e)
    